package com.ruoyi.spicfz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 高管任职对象 spicfz_executives_compos
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public class ExecutivesCompos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 高管编号 */
    @Excel(name = "高管编号")
    private Long executiveId;

    /** 高管姓名 */
    @Excel(name = "高管姓名")
    private String executiveName;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 职务ID */
    @Excel(name = "职务ID")
    private String positionId;

    /** 职务名称 */
    @Excel(name = "职务名称")
    private String positionName;

    /** 任职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "任职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onDate;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date offDate;

    /** 任职状态 */
    @Excel(name = "任职状态")
    private String status;

    public void setExecutiveId(Long executiveId) 
    {
        this.executiveId = executiveId;
    }

    public Long getExecutiveId() 
    {
        return executiveId;
    }
    public void setExecutiveName(String executiveName) 
    {
        this.executiveName = executiveName;
    }

    public String getExecutiveName() 
    {
        return executiveName;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setPositionId(String positionId) 
    {
        this.positionId = positionId;
    }

    public String getPositionId() 
    {
        return positionId;
    }
    public void setPositionName(String positionName) 
    {
        this.positionName = positionName;
    }

    public String getPositionName() 
    {
        return positionName;
    }
    public void setOnDate(Date onDate) 
    {
        this.onDate = onDate;
    }

    public Date getOnDate() 
    {
        return onDate;
    }
    public void setOffDate(Date offDate) 
    {
        this.offDate = offDate;
    }

    public Date getOffDate() 
    {
        return offDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("executiveId", getExecutiveId())
            .append("executiveName", getExecutiveName())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("positionId", getPositionId())
            .append("positionName", getPositionName())
            .append("onDate", getOnDate())
            .append("offDate", getOffDate())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
